package com.chinasofti.xian;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//当前应用为Eureka客户端
@EnableEurekaClient
//当前SpringBoot应用程序屏蔽数据库扫描（无需数据库）
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ServiceOneCopyApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOneCopyApplication.class, args);
    }
}
